const canvasElement = document.getElementById('canvas');
const ctx = canvasElement.getContext('2d');

const bgI = new Image();
const gamerI = new Image();

bgI.src = '../static/image/background.png';
gamerI.src = '../static/image/hero1.png';

bgI.onload = function() {
  ctx.drawImage(bgI, 0, 0);
}
gamerI.onload = function() {
  ctx.drawImage(gamerI, 190, 720);
}
